<?php
/**
 * 系统配置文件
 */
return [
    'custom_main_domain' => env('CUSTOM_MAIN_DOMAIN', ''),
    'sys_domain' => env('SYS_DOMAIN', ''),
    'sys_name' => env('SYS_NAME', ''),
    'copyright' => env('SYS_NAME', '') . ' <a target="_blank" href="https://beian.miit.gov.cn">' . env('BEIAN', '') . '</a>',
    'page_size' => 20,
    'cache_time' => 7200,
    'error_login_times' => 3,
    'static_file_path' => env('STATIC_FILE_PATH', ''),
    'ssl_static_file_path' => env('SSL_STATIC_FILE_PATH', ''),
    'upload_path' => env('UPLOAD_PATH', ''),
    'ssl_upload_path' => env('SSL_UPLOAD_PATH', ''),
    'allow_img_type' => ['png', 'jpg', 'gif', 'jpeg'],
    'allow_img_max_size' => '10m',//允许图片上传的最大限制，10兆
    'allow_file_type' => ['txt', 'csv', 'excel', 'mp3', 'xls', 'xlsx', 'png', 'jpg', 'gif', 'jpeg', 'doc', 'docx', 'pdf', 'mp4', 'wmv', 'avi', 'rmvb', 'rm', 'asf', 'divx', 'mpg', 'mpeg', 'mpe', 'mkv', 'vob', 'apk'],
    'pic_size' => ['400x300', '160x160', '160x160xz', '1000x30000'],
    'merchant_max_error_times' => 5,
    'dingtalk' => [
        'is_at_all' => 0,
        'at_mobiles' => [
        ]
    ],
    'is_pts' => env('IS_PTS', 0),//是否压测中，压测时接口不校验签名和时间戳
    'password_default' => '123456a',
    'aliyun' => [
        'accessKeyId' => '',
        'accessSecret' => '',
        'oss_public_domain' => '',
        'oss_bucket' => '',
        'oss_endpoint' => '',
        'sts_endpoint' => '',
        'sts_oss_role_arn' => '',
        'sms_sign' => '',
        'sms_tpl_login' => '',//您的验证码为：${code}，请勿泄露于他人！,
        'sms_tpl_reset_password' => '',//您的验证码为：${code}，请勿泄露于他人！,
        'msg_push' => [
            'ios' => ['appKey' => ''],
            'android' => ['appKey' => ''],
        ],
    ],
    //对外开放接口配置
    'openapi' => [
        //管理端接口
        'admin' => [
            'admin-pc' => 'DQR6LK0ZGXPI9J8TM342YHN5AC1BSUW7',
        ],
        //门店APP端&门店POS端接口
        'app' => [
            'shop-app' => '4MRTBFK5DS896VXJZ12IH0NLYOEUC7GA',
        ],
    ]
];
